
package com.ktgj.common.spring.entity.iata.iata_orderviewrs;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>TicketType complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="TicketType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="ConnectedDocNumber" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/&gt;
 *         &lt;element name="Coupon" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderViewRS}CouponType" maxOccurs="unbounded"/&gt;
 *         &lt;element name="ExchReissueInd" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/&gt;
 *         &lt;element name="FeeOwnerCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="PresentCreditCardInd" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/&gt;
 *         &lt;element name="PrimaryDocInd" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/&gt;
 *         &lt;element name="RemarkText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="ReportingTypeCode" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderViewRS}ReportingTypeCodeContentType" minOccurs="0"/&gt;
 *         &lt;element name="RoutingCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="TaxOnEMDInd" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/&gt;
 *         &lt;element name="TicketDocTypeCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="TicketNumber" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TicketType", propOrder = {
    "connectedDocNumber",
    "coupon",
    "exchReissueInd",
    "feeOwnerCode",
    "presentCreditCardInd",
    "primaryDocInd",
    "remarkText",
    "reportingTypeCode",
    "routingCode",
    "taxOnEMDInd",
    "ticketDocTypeCode",
    "ticketNumber"
})
public class TicketType {

    @XmlElement(name = "ConnectedDocNumber")
    protected BigDecimal connectedDocNumber;
    @XmlElement(name = "Coupon", required = true)
    protected List<CouponType> coupon;
    @XmlElement(name = "ExchReissueInd")
    protected Boolean exchReissueInd;
    @XmlElement(name = "FeeOwnerCode")
    protected String feeOwnerCode;
    @XmlElement(name = "PresentCreditCardInd")
    protected Boolean presentCreditCardInd;
    @XmlElement(name = "PrimaryDocInd")
    protected Boolean primaryDocInd;
    @XmlElement(name = "RemarkText")
    protected String remarkText;
    @XmlElement(name = "ReportingTypeCode")
    @XmlSchemaType(name = "string")
    protected ReportingTypeCodeContentType reportingTypeCode;
    @XmlElement(name = "RoutingCode")
    protected String routingCode;
    @XmlElement(name = "TaxOnEMDInd")
    protected Boolean taxOnEMDInd;
    @XmlElement(name = "TicketDocTypeCode")
    protected String ticketDocTypeCode;
    @XmlElement(name = "TicketNumber")
    protected BigDecimal ticketNumber;

    /**
     * 获取connectedDocNumber属性的值。
     * 
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *     
     */
    public BigDecimal getConnectedDocNumber() {
        return connectedDocNumber;
    }

    /**
     * 设置connectedDocNumber属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *     
     */
    public void setConnectedDocNumber(BigDecimal value) {
        this.connectedDocNumber = value;
    }

    /**
     * Gets the value of the coupon property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the coupon property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getCoupon().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link CouponType }
     * 
     * 
     */
    public List<CouponType> getCoupon() {
        if (coupon == null) {
            coupon = new ArrayList<CouponType>();
        }
        return this.coupon;
    }

    /**
     * 获取exchReissueInd属性的值。
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isExchReissueInd() {
        return exchReissueInd;
    }

    /**
     * 设置exchReissueInd属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setExchReissueInd(Boolean value) {
        this.exchReissueInd = value;
    }

    /**
     * 获取feeOwnerCode属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getFeeOwnerCode() {
        return feeOwnerCode;
    }

    /**
     * 设置feeOwnerCode属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setFeeOwnerCode(String value) {
        this.feeOwnerCode = value;
    }

    /**
     * 获取presentCreditCardInd属性的值。
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isPresentCreditCardInd() {
        return presentCreditCardInd;
    }

    /**
     * 设置presentCreditCardInd属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setPresentCreditCardInd(Boolean value) {
        this.presentCreditCardInd = value;
    }

    /**
     * 获取primaryDocInd属性的值。
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isPrimaryDocInd() {
        return primaryDocInd;
    }

    /**
     * 设置primaryDocInd属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setPrimaryDocInd(Boolean value) {
        this.primaryDocInd = value;
    }

    /**
     * 获取remarkText属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRemarkText() {
        return remarkText;
    }

    /**
     * 设置remarkText属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRemarkText(String value) {
        this.remarkText = value;
    }

    /**
     * 获取reportingTypeCode属性的值。
     * 
     * @return
     *     possible object is
     *     {@link ReportingTypeCodeContentType }
     *     
     */
    public ReportingTypeCodeContentType getReportingTypeCode() {
        return reportingTypeCode;
    }

    /**
     * 设置reportingTypeCode属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link ReportingTypeCodeContentType }
     *     
     */
    public void setReportingTypeCode(ReportingTypeCodeContentType value) {
        this.reportingTypeCode = value;
    }

    /**
     * 获取routingCode属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRoutingCode() {
        return routingCode;
    }

    /**
     * 设置routingCode属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRoutingCode(String value) {
        this.routingCode = value;
    }

    /**
     * 获取taxOnEMDInd属性的值。
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isTaxOnEMDInd() {
        return taxOnEMDInd;
    }

    /**
     * 设置taxOnEMDInd属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setTaxOnEMDInd(Boolean value) {
        this.taxOnEMDInd = value;
    }

    /**
     * 获取ticketDocTypeCode属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTicketDocTypeCode() {
        return ticketDocTypeCode;
    }

    /**
     * 设置ticketDocTypeCode属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTicketDocTypeCode(String value) {
        this.ticketDocTypeCode = value;
    }

    /**
     * 获取ticketNumber属性的值。
     * 
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *     
     */
    public BigDecimal getTicketNumber() {
        return ticketNumber;
    }

    /**
     * 设置ticketNumber属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *     
     */
    public void setTicketNumber(BigDecimal value) {
        this.ticketNumber = value;
    }

}
